AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")

function ENT:Initialize()
	self:SetKeyValue( "OnMatchStart", "" )
	self:SetKeyValue( "OnAccountingStart", "" )
	self:SetKeyValue( "OnMatchEnd", "" )
end

function ENT:KeyValue( key, value )
	if string.lower(string.sub(key, 1, 2)) == "on" then
		self:StoreOutput( key, value )
	end
end
function ENT:TriggerMatchStarted()
	self:TriggerOutput( "OnMatchStart", self )
end

function ENT:TriggerMatchEnded()
	self:TriggerOutput( "OnMatchEnd", self )
end
function ENT:TriggerAccountingStarted()
	self:TriggerOutput( "OnAccountingStart", self )
end